package com.lakeworks.common.domain.ticket;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 赔偿单对象 tkt_claims
 * 
 * @author ruoyi
 * @date 2023-08-16
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TktClaims extends BaseDomain
{
    private static final long serialVersionUID = 1L;
    //渠道id
    private Long channelId;
    //售后信息退款编号
    @NotNull(message = "40700")
    private Long chClaimsId;

    /** 订单编号 */
    @NotBlank(message = "40700")
    private String orderNo;

    /** 工单id */
    @NotNull(message = "40700")
    private Long ticketId;

    //工厂工单ID
    private Long tId;

    /** 订单金额 */
    private BigDecimal amount;

    //工厂承担金额
    private BigDecimal ftyAmount;

    //平台承担金额
    private BigDecimal platformAmount;

    /** 备注 */
    private String comment;

    /** 成功/失败 */
    private String status;

    /** 审核中/审核通过 */
    private String applyStatus;

    /** 未付款/已付款 */
    private String refundStatus;

    /**'未复议/复议中/复议结束'*/
    private String reconsiderStatus;

    /** 退款方式*/
    private String refundMethod;

    /** 赔偿成功日期 */
    private LocalDate date;

    // 复议工厂承担金额
    private BigDecimal reFtyAmount;

    // 复议平台承担金额
    private BigDecimal rePlatformAmount;

    // 复议时间
    private LocalDateTime reconsiderTime;

    // 裁决时间
    private LocalDateTime verdictTime;

    // 复议备注
    private String reconsiderComment;

    // 裁决备注
    private String verdictComment;

    private Integer pageNum;

    private Integer pageSize;


}
